num = 100
def testA():
    num = 200
    print("函数中的num=",num)

testA()
print("函数外的num=",num)